package com.edou.member.form;

import com.edou.base.form.BaseForm;
import com.edou.member.dto.MemberUserCondition;
import com.edou.member.entity.MemberCompany;
import com.edou.member.entity.MemberUser;
import com.edou.member.entity.MemberUserCompany;

@SuppressWarnings("serial")
public class MemberUserForm extends BaseForm<MemberUser>{

	private MemberUser item = new MemberUser();
	
	/** 会员所在公司 */
	private MemberCompany company = new MemberCompany();
	
	/** 会员与公司的关联表 */
	private MemberUserCompany memberUserCompany = new MemberUserCompany();
	
	private MemberUserCondition condition = new MemberUserCondition();
	
	/**企业信息*/
	private String cityName;
	private String category;
	
	/** 帐号  */
	private String account;
	
	/** 邮箱  */
	private String email;
	
	/** 手机号码  */
	private String mobile;
	
	/** 会员登录时，需不需要验证码，1-需要，0-不需要  */
	private Integer v = 1;
	
	/** 会员登录时的验证码  */
	private String verCode;
	
	/** 用于找回密码 - 验证修改密码是否有效的Code */
	private String code;
	
	/** 用于找回密码 - 邮件发送时间戳 */
	private String m;
	
	/** 用于找回密码 - 新密码 */
	private String password;
	
	/** 原密码 - 用于修改密码 */
	private String oldPassword;
	
	/** 自动登录标记  1-可以   0-不可以*/
	private Integer isAutoLogin;
	
	/** 会员注册时的邀请码*/
	private String inviteCode;
	
	/** 登录后要转跳的页面 */
	private String preUrl;
	
	/** 资料是否完善 1:资料已完善*/
	private Integer isComplete;
	
	/** ==== APP端需要用到 ==== */
	/** 设备ID */
	private String deviceId;
	/** 设备类型 */
	private Integer deviceType;
	/** 融云聊天token */
	private String chatToken;
	/** 个推cid,ios取info.token,android取info.clientid */
	private String chatClientId;
	
	/** 客户ID */
	private Long clientId;
	
	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public Long getClientId() {
		return clientId;
	}

	public void setClientId(Long clientId) {
		this.clientId = clientId;
	}

	public Integer getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}

	public String getChatToken() {
		return chatToken;
	}

	public void setChatToken(String chatToken) {
		this.chatToken = chatToken;
	}

	public String getChatClientId() {
		return chatClientId;
	}

	public void setChatClientId(String chatClientId) {
		this.chatClientId = chatClientId;
	}

	public String getPreUrl() {
		return preUrl;
	}

	public void setPreUrl(String preUrl) {
		this.preUrl = preUrl;
	}

	public MemberUserCompany getMemberUserCompany() {
		return memberUserCompany;
	}

	public void setMemberUserCompany(MemberUserCompany memberUserCompany) {
		this.memberUserCompany = memberUserCompany;
	}
	
	public MemberCompany getCompany() {
		return company;
	}

	public void setCompany(MemberCompany company) {
		this.company = company;
	}
	
	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getM() {
		return m;
	}

	public void setM(String m) {
		this.m = m;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getVerCode() {
		return verCode;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	public Integer getV() {
		return v;
	}

	public void setV(Integer v) {
		this.v = v;
	}

	public MemberUserForm() {
		super();
	}

	public MemberUser getItem() {
		return item;
	}

	public void setItem(MemberUser item) {
		this.item = item;
	}

	public MemberUserCondition getCondition() {
		return condition;
	}

	public void setCondition(MemberUserCondition condition) {
		this.condition = condition;
	}


	public Integer getIsAutoLogin() {
		return isAutoLogin;
	}

	public void setIsAutoLogin(Integer isAutoLogin) {
		this.isAutoLogin = isAutoLogin;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}


	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public Integer getIsComplete() {
		return isComplete;
	}

	public void setIsComplete(Integer isComplete) {
		this.isComplete = isComplete;
	}
	
}
